import request from '@/utils/request'

/**
 * 登录
 * @param data
 * @returns {*}
 */
export function login(data){
    return request({
        url:'/login',
        method:'POST',
        data
    })
}

export function captchaApi(){
    return request({
        url:'/captcha',
        method:'GET'
    })
}
